<?php
namespace App\Request;

use App\Request\Request;

class NewsRequest extends Request
{
    // 规则
    public function rules(): array
    {
        return [
            'title'   => 'required',
            'content' => 'required',
            'image'   => ''
        ];
    }
}